﻿<?php echo $this->render('head.phtml');?>

<div class='container_16 div_content ui-corner-all'>
  <div class='grid_3'>
    <h3 class="user-center-title">用户中心</h3>

    <?php
function get_selected_status($thisAction)
{
  //$controllerName = Zend_Controller_Front::getInstance()->getRequest()->getControllerName();
  $actionName = Zend_Controller_Front::getInstance()->getRequest()->getActionName();
  print $actionName == $thisAction ? 'div_user_selected_action' : 'div_user_action';
}
?>

  </div>
  <div class='clear'></div>
  
  <div class='grid_3 user_menu'>  
    <a class='a_user_action' href='/user/user-info'><div class='ui-corner-all <?php get_selected_status("user-info"); ?>'>用户信息</div></a>
    <a class='a_user_action' href='/user/profile'><div class='ui-corner-all <?php get_selected_status("profile"); ?>'>编辑用户信息</div></a>
    <a class='a_user_action' href='/user/changepasswd'><div class='ui-corner-all <?php get_selected_status('changepasswd'); ?>'>修改密码</div></a>
    <a class='a_user_action' href='/user/courses'><div class='ui-corner-all <?php get_selected_status('courses'); ?>'>课程管理</div></a>
    <a class='a_user_action' href='/user/upload-course'><div class='ui-corner-all <?php get_selected_status('upload-course'); ?>'>上传课程</div></a>
    <a class='a_user_action' href='/user/pay-history'><div class='ui-corner-all <?php get_selected_status('pay-history'); ?>'>订购记录</div></a>
    <!-- <a class='a_user_action' href='/user/history'><div class='ui-corner-all <?php get_selected_status('history'); ?>'>听课记录</div></a> -->
    <!-- <a class='a_user_action' href='/user/account'><div class='ui-corner-all <?php get_selected_status('account'); ?>'>帐户</div></a> -->
    <!-- <a class='a_user_action' href='/user/friends'><div class='ui-corner-all <?php get_selected_status('friends'); ?>'>好友管理</div></a> -->
    <a class='a_user_action' href='/user/recharge'><div class='ui-corner-all <?php get_selected_status('recharge'); ?>'>充值</div></a>
  </div>
  <div class='grid_12' id='div_action_content'>
